﻿@{
    Layout = null;
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>frame_header</title>
   <link href="@Url.Content("~/Content/css/admin/global.css")" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/admin/global.js")"></script>
<script type="text/javascript">
    $(function () {
        //menu
        $('.menu_ul li').click(
					   function () {
					       $(this).addClass('current').siblings().removeClass('current');
					   }
					   );
				});


				function loadFrame() {
                    alert('ww');
				    window.parent.location.reload("@Url.Action("Login","Account")") 
                }

                function logOut(){
                 $.ajax({
                type: "POST",
                url: "/Management/Account/LogOut/",
                success: function (data, textStatus) {
                   window.parent.location.reload("@Url.Action("Login","Account")") 
                },
                error: function () {
                    alert('操作出现异常，请重试或者刷新！');
                }
            }).done(function (msg) {
                 //window.parent.location.reload("@Url.Action("Login","Account")") 
            });
                }
</script>
</head>

<body>
<div class="header">
<div class="logo"><a href="" target="main">都来米社交网站后台管理系统</a></div>
<div class="loginfo">
@*<span class="plzlogin"><a href="login.html">[请登录]</a></span>*@<span class="welcome">管理员, @User.Identity.Name | 今天是 @DateTime.Now.Date.ToLongDateString() | <a href="@Url.Action("ChangePassword","Account")" target="main"> 修改密码</a> |  <a onclick="logOut();", style="cursor:pointer;">退出</a>| @*<a href="#">Help (帮助)</a>*@ </span>
</div>
<!--menu-start-->
<div class="menu_left"></div>
<div class="menu">
</div>
<div class="menu_right"></div>
<!--menu-end-->
</div>
</body>
</html>

